Optimal. Leaf size=94 \[ -\frac{6 (47 x+37)}{5 (2 x+3) \sqrt{3 x^2+5 x+2}}-\frac{856 \sqrt{3 x^2+5 x+2}}{25 (2 x+3)}+\frac{302 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{25 \sqrt{5}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0531627, antiderivative size = 94, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148, Rules used = {822, 806, 724, 206} \[ -\frac{6 (47 x+37)}{5 (2 x+3) \sqrt{3 x^2+5 x+2}}-\frac{856 \sqrt{3 x^2+5 x+2}}{25 (2 x+3)}+\frac{302 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{25 \sqrt{5}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 822
Rule 806
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{5-x}{(3+2 x)^2 \left (2+5 x+3 x^2\right )^{3/2}} \, dx &=-\frac{6 (37+47 x)}{5 (3+2 x) \sqrt{2+5 x+3 x^2}}-\frac{2}{5} \int \frac{209+282 x}{(3+2 x)^2 \sqrt{2+5 x+3 x^2}} \, dx\\ &=-\frac{6 (37+47 x)}{5 (3+2 x) \sqrt{2+5 x+3 x^2}}-\frac{856 \sqrt{2+5 x+3 x^2}}{25 (3+2 x)}+\frac{302}{25} \int \frac{1}{(3+2 x) \sqrt{2+5 x+3 x^2}} \, dx\\ &=-\frac{6 (37+47 x)}{5 (3+2 x) \sqrt{2+5 x+3 x^2}}-\frac{856 \sqrt{2+5 x+3 x^2}}{25 (3+2 x)}-\frac{604}{25} \operatorname{Subst}\left (\int \frac{1}{20-x^2} \, dx,x,\frac{-7-8 x}{\sqrt{2+5 x+3 x^2}}\right )\\ &=-\frac{6 (37+47 x)}{5 (3+2 x) \sqrt{2+5 x+3 x^2}}-\frac{856 \sqrt{2+5 x+3 x^2}}{25 (3+2 x)}+\frac{302 \tanh ^{-1}\left (\frac{7+8 x}{2 \sqrt{5} \sqrt{2+5 x+3 x^2}}\right )}{25 \sqrt{5}}\\ \end{align*}
Mathematica [A] time = 0.0329341, size = 90, normalized size = 0.96 \[ -\frac{2 \left (6420 x^2+151 \sqrt{5} (2 x+3) \sqrt{3 x^2+5 x+2} \tanh ^{-1}\left (\frac{-8 x-7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )+14225 x+7055\right )}{125 (2 x+3) \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 90, normalized size = 1. \begin{align*}{\frac{151}{25}{\frac{1}{\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}}}}}-{\frac{1070+1284\,x}{25}{\frac{1}{\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}}}}}-{\frac{302\,\sqrt{5}}{125}{\it Artanh} \left ({\frac{2\,\sqrt{5}}{5} \left ( -{\frac{7}{2}}-4\,x \right ){\frac{1}{\sqrt{12\, \left ( x+3/2 \right ) ^{2}-16\,x-19}}}} \right ) }-{\frac{13}{10} \left ( x+{\frac{3}{2}} \right ) ^{-1}{\frac{1}{\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.72983, size = 143, normalized size = 1.52 \begin{align*} -\frac{302}{125} \, \sqrt{5} \log \left (\frac{\sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac{5}{2 \,{\left | 2 \, x + 3 \right |}} - 2\right ) - \frac{1284 \, x}{25 \, \sqrt{3 \, x^{2} + 5 \, x + 2}} - \frac{919}{25 \, \sqrt{3 \, x^{2} + 5 \, x + 2}} - \frac{13}{5 \,{\left (2 \, \sqrt{3 \, x^{2} + 5 \, x + 2} x + 3 \, \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.90001, size = 300, normalized size = 3.19 \begin{align*} \frac{151 \, \sqrt{5}{\left (6 \, x^{3} + 19 \, x^{2} + 19 \, x + 6\right )} \log \left (\frac{4 \, \sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (8 \, x + 7\right )} + 124 \, x^{2} + 212 \, x + 89}{4 \, x^{2} + 12 \, x + 9}\right ) - 10 \,{\left (1284 \, x^{2} + 2845 \, x + 1411\right )} \sqrt{3 \, x^{2} + 5 \, x + 2}}{125 \,{\left (6 \, x^{3} + 19 \, x^{2} + 19 \, x + 6\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{x}{12 x^{4} \sqrt{3 x^{2} + 5 x + 2} + 56 x^{3} \sqrt{3 x^{2} + 5 x + 2} + 95 x^{2} \sqrt{3 x^{2} + 5 x + 2} + 69 x \sqrt{3 x^{2} + 5 x + 2} + 18 \sqrt{3 x^{2} + 5 x + 2}}\, dx - \int - \frac{5}{12 x^{4} \sqrt{3 x^{2} + 5 x + 2} + 56 x^{3} \sqrt{3 x^{2} + 5 x + 2} + 95 x^{2} \sqrt{3 x^{2} + 5 x + 2} + 69 x \sqrt{3 x^{2} + 5 x + 2} + 18 \sqrt{3 x^{2} + 5 x + 2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{x - 5}{{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}}{\left (2 \, x + 3\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]